From 148c4b70c25a2c85d5cafcef8200e5aa9c5a6fe0 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 20 May 1993 13:43:48 +0000 Subject: [PATCH] (x_find_modifier_meanings): If some keys are meta and alt, make them just meta, not alt. --- src/xterm.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index 91622d7f27d..d558f394b3e 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -1505,6 +1505,13 @@ x_find_modifier_meanings () x_alt_mod_mask = 0; } + /* If some keys are both alt and meta, + make them just meta, not alt. */ + if (x_alt_mod_mask & x_meta_mod_mask) + { + x_alt_mod_mask &= ~x_meta_mod_mask; + } + XFree ((char *) syms); XFreeModifiermap (mods); } -- 2.30.2